﻿using D20.Entities.Characters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace D20.UnitTests.Characters
{
    
    
    /// <summary>
    ///This is a test class for AbilitiesTest and is intended
    ///to contain all AbilitiesTest Unit Tests
    ///</summary>
    [TestClass()]
    public class AbilitiesTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for WisdomModifier
        ///</summary>
        [TestMethod()]
        public void WisdomModifierTest()
        {
            Abilities target = new Abilities();
            target.Wisdom = 10;
            int actual;
            actual = target.WisdomModifier;
            Assert.AreEqual(0, actual);

            target.Wisdom = 11;
            actual = target.WisdomModifier;
            Assert.AreEqual(0, actual);
            target.Wisdom = 12;
            actual = target.WisdomModifier;
            Assert.AreEqual(1, actual);
        }

        /// <summary>
        ///A test for Wisdom
        ///</summary>
        [TestMethod()]
        public void WisdomTest()
        {
            Abilities target = new Abilities(); 
            uint expected = 4; 
            uint actual;
            target.Wisdom = expected;
            actual = target.Wisdom;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for StrengthModifier
        ///</summary>
        [TestMethod()]
        public void StrengthModifierTest()
        {
            Abilities target = new Abilities(); // TODO: Initialize to an appropriate value
            int actual;
            actual = target.StrengthModifier;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Strength
        ///</summary>
        [TestMethod()]
        public void StrengthTest()
        {
            Abilities target = new Abilities();
            uint expected = 4;
            uint actual;
            target.Strength = expected;
            actual = target.Strength;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for IntelligenceModifier
        ///</summary>
        [TestMethod()]
        public void IntelligenceModifierTest()
        {
            Abilities target = new Abilities(); // TODO: Initialize to an appropriate value
            int actual;
            actual = target.IntelligenceModifier;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Intelligence
        ///</summary>
        [TestMethod()]
        public void IntelligenceTest()
        {
            Abilities target = new Abilities();
            uint expected = 4;
            uint actual;
            target.Intelligence = expected;
            actual = target.Intelligence;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for DexterityModifier
        ///</summary>
        [TestMethod()]
        public void DexterityModifierTest()
        {
            Abilities target = new Abilities(); // TODO: Initialize to an appropriate value
            int actual;
            actual = target.DexterityModifier;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Dexterity
        ///</summary>
        [TestMethod()]
        public void DexterityTest()
        {
            Abilities target = new Abilities();
            uint expected = 4; 
            uint actual;
            target.Dexterity = expected;
            actual = target.Dexterity;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for ConstitutionModifier
        ///</summary>
        [TestMethod()]
        public void ConstitutionModifierTest()
        {
            Abilities target = new Abilities(); // TODO: Initialize to an appropriate value
            int actual;
            actual = target.ConstitutionModifier;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Constitution
        ///</summary>
        [TestMethod()]
        public void ConstitutionTest()
        {
            Abilities target = new Abilities();
            uint expected = 4;
            uint actual;
            target.Constitution = expected;
            actual = target.Constitution;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for CharismaModifier
        ///</summary>
        [TestMethod()]
        public void CharismaModifierTest()
        {
            Abilities target = new Abilities(); // TODO: Initialize to an appropriate value
            int actual;
            actual = target.CharismaModifier;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Charisma
        ///</summary>
        [TestMethod()]
        public void CharismaTest()
        {
            Abilities target = new Abilities(); 
            uint expected = 4; 
            uint actual;
            target.Charisma = expected;
            actual = target.Charisma;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for Abilities Constructor
        ///</summary>
        [TestMethod()]
        public void AbilitiesConstructorTest()
        {
            Abilities target = new Abilities();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
